#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QMainWindow>
#include <QLineEdit>

QT_BEGIN_NAMESPACE
namespace Ui
{
    class loginWindow;
}
QT_END_NAMESPACE

class loginWindow : public QMainWindow
{
    Q_OBJECT    // 用于支持信号与槽的

public:
    loginWindow(QWidget *parent = nullptr);
    ~loginWindow();

private slots:
    void login();
    void passwordVisibility_pressed();
    void passwordVisibility_released();
    void fun1();
    void fun2();

private:
    Ui::loginWindow *ui;
    QLineEdit *account;
    QLineEdit *password;
    int count;
};
#endif // LOGINWINDOW_H
